3.112 \(\int \frac{\sec (e+f x) \sqrt{a+a \sec (e+f x)}}{(c-c \sec (e+f x))^{5/2}} \, dx\)

Optimal. Leaf size=43 \[ -\frac{a \tan (e+f x)}{2 f \sqrt{a \sec (e+f x)+a} (c-c \sec (e+f x))^{5/2}} \]

[Out]

-(a*Tan[e + f*x])/(2*f*Sqrt[a + a*Sec[e + f*x]]*(c - c*Sec[e + f*x])^(5/2))

________________________________________________________________________________________

Rubi [A]  time = 0.136812, antiderivative size = 43, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 36, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.028, Rules used = {3953} \[ -\frac{a \tan (e+f x)}{2 f \sqrt{a \sec (e+f x)+a} (c-c \sec (e+f x))^{5/2}} \]

Antiderivative was successfully verified.

[In]

Int[(Sec[e + f*x]*Sqrt[a + a*Sec[e + f*x]])/(c - c*Sec[e + f*x])^(5/2),x]

[Out]

-(a*Tan[e + f*x])/(2*f*Sqrt[a + a*Sec[e + f*x]]*(c - c*Sec[e + f*x])^(5/2))

Rule 3953

Int[csc[(e_.) + (f_.)*(x_)]*(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_))^(m_.)*Sqrt[csc[(e_.) + (f_.)*(x_)]*(d_.) +
(c_)], x_Symbol] :> Simp[(2*a*c*Cot[e + f*x]*(a + b*Csc[e + f*x])^m)/(b*f*(2*m + 1)*Sqrt[c + d*Csc[e + f*x]]),
 x] /; FreeQ[{a, b, c, d, e, f, m}, x] && EqQ[b*c + a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[m, -2^(-1)]

Rubi steps

\begin{align*} \int \frac{\sec (e+f x) \sqrt{a+a \sec (e+f x)}}{(c-c \sec (e+f x))^{5/2}} \, dx &=-\frac{a \tan (e+f x)}{2 f \sqrt{a+a \sec (e+f x)} (c-c \sec (e+f x))^{5/2}}\\ \end{align*}

Mathematica [A]  time = 0.38449, size = 69, normalized size = 1.6 \[ -\frac{(2 \cos (e+f x)-1) \tan \left (\frac{1}{2} (e+f x)\right ) \sqrt{a (\sec (e+f x)+1)}}{2 c^2 f (\cos (e+f x)-1)^2 \sqrt{c-c \sec (e+f x)}} \]

Antiderivative was successfully verified.

[In]

Integrate[(Sec[e + f*x]*Sqrt[a + a*Sec[e + f*x]])/(c - c*Sec[e + f*x])^(5/2),x]

[Out]

-((-1 + 2*Cos[e + f*x])*Sqrt[a*(1 + Sec[e + f*x])]*Tan[(e + f*x)/2])/(2*c^2*f*(-1 + Cos[e + f*x])^2*Sqrt[c - c
*Sec[e + f*x]])

________________________________________________________________________________________

Maple [A]  time = 0.293, size = 70, normalized size = 1.6 \begin{align*} -{\frac{ \left ( 3\,\cos \left ( fx+e \right ) -1 \right ) \sin \left ( fx+e \right ) }{8\,f \left ( \cos \left ( fx+e \right ) \right ) ^{2}}\sqrt{{\frac{a \left ( 1+\cos \left ( fx+e \right ) \right ) }{\cos \left ( fx+e \right ) }}} \left ({\frac{c \left ( -1+\cos \left ( fx+e \right ) \right ) }{\cos \left ( fx+e \right ) }} \right ) ^{-{\frac{5}{2}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sec(f*x+e)*(a+a*sec(f*x+e))^(1/2)/(c-c*sec(f*x+e))^(5/2),x)

[Out]

-1/8/f*(3*cos(f*x+e)-1)*(1/cos(f*x+e)*a*(1+cos(f*x+e)))^(1/2)*sin(f*x+e)/cos(f*x+e)^2/(c*(-1+cos(f*x+e))/cos(f
*x+e))^(5/2)

________________________________________________________________________________________

Maxima [B]  time = 2.09418, size = 1023, normalized size = 23.79 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(f*x+e)*(a+a*sec(f*x+e))^(1/2)/(c-c*sec(f*x+e))^(5/2),x, algorithm="maxima")

[Out]

2*((sin(4*f*x + 4*e) + 2*sin(2*f*x + 2*e))*cos(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) + (sin(4*f*x +
 4*e) + 2*sin(2*f*x + 2*e))*cos(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) - cos(2*f*x + 2*e)*sin(4*f*x
+ 4*e) + cos(4*f*x + 4*e)*sin(2*f*x + 2*e) - (cos(4*f*x + 4*e) + 2*cos(2*f*x + 2*e) + 1)*sin(3/2*arctan2(sin(2
*f*x + 2*e), cos(2*f*x + 2*e))) - (cos(4*f*x + 4*e) + 2*cos(2*f*x + 2*e) + 1)*sin(1/2*arctan2(sin(2*f*x + 2*e)
, cos(2*f*x + 2*e))) + sin(2*f*x + 2*e))*sqrt(a)*sqrt(c)/((c^3*cos(4*f*x + 4*e)^2 + 36*c^3*cos(2*f*x + 2*e)^2
+ 16*c^3*cos(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e)))^2 + 16*c^3*cos(1/2*arctan2(sin(2*f*x + 2*e), cos
(2*f*x + 2*e)))^2 + c^3*sin(4*f*x + 4*e)^2 + 12*c^3*sin(4*f*x + 4*e)*sin(2*f*x + 2*e) + 36*c^3*sin(2*f*x + 2*e
)^2 + 16*c^3*sin(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e)))^2 + 16*c^3*sin(1/2*arctan2(sin(2*f*x + 2*e),
 cos(2*f*x + 2*e)))^2 + 12*c^3*cos(2*f*x + 2*e) + c^3 + 2*(6*c^3*cos(2*f*x + 2*e) + c^3)*cos(4*f*x + 4*e) - 8*
(c^3*cos(4*f*x + 4*e) + 6*c^3*cos(2*f*x + 2*e) - 4*c^3*cos(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) +
c^3)*cos(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) - 8*(c^3*cos(4*f*x + 4*e) + 6*c^3*cos(2*f*x + 2*e) +
 c^3)*cos(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))) - 8*(c^3*sin(4*f*x + 4*e) + 6*c^3*sin(2*f*x + 2*e)
- 4*c^3*sin(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))))*sin(3/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*
e))) - 8*(c^3*sin(4*f*x + 4*e) + 6*c^3*sin(2*f*x + 2*e))*sin(1/2*arctan2(sin(2*f*x + 2*e), cos(2*f*x + 2*e))))
*f)

________________________________________________________________________________________

Fricas [B]  time = 0.471764, size = 254, normalized size = 5.91 \begin{align*} \frac{{\left (2 \, \cos \left (f x + e\right )^{2} - \cos \left (f x + e\right )\right )} \sqrt{\frac{a \cos \left (f x + e\right ) + a}{\cos \left (f x + e\right )}} \sqrt{\frac{c \cos \left (f x + e\right ) - c}{\cos \left (f x + e\right )}}}{2 \,{\left (c^{3} f \cos \left (f x + e\right )^{2} - 2 \, c^{3} f \cos \left (f x + e\right ) + c^{3} f\right )} \sin \left (f x + e\right )} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(f*x+e)*(a+a*sec(f*x+e))^(1/2)/(c-c*sec(f*x+e))^(5/2),x, algorithm="fricas")

[Out]

1/2*(2*cos(f*x + e)^2 - cos(f*x + e))*sqrt((a*cos(f*x + e) + a)/cos(f*x + e))*sqrt((c*cos(f*x + e) - c)/cos(f*
x + e))/((c^3*f*cos(f*x + e)^2 - 2*c^3*f*cos(f*x + e) + c^3*f)*sin(f*x + e))

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(f*x+e)*(a+a*sec(f*x+e))**(1/2)/(c-c*sec(f*x+e))**(5/2),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(f*x+e)*(a+a*sec(f*x+e))^(1/2)/(c-c*sec(f*x+e))^(5/2),x, algorithm="giac")

[Out]

Timed out